package com.sdry.model.zc;

import com.sdry.model.lz.Customer;
import com.sdry.model.lz.Department;
import com.sdry.model.lz.Post;

/**
 * @ClassName: SysUser 
 * @Description:用户管理
 * @Author hpf
 * @Date 2019年2月21日 下午4:57:09 
 * @version 1.0
 */
public class ZcSysUserEntity {
	//主键ID
	private Long id;
	//部门id
	private Long deptId;
	//部门实体
	private Department dept;
	//岗位id
	private Long postId;
	//岗位实体
	private Post post;
	//姓名
	private String userName;
	//用户名
	private String accountName;
	//密码
	private String password;
	//性别（0男1女）
	private byte sex;
	//电话
	private String phone;
	//角色id
	private String roleId;
	//角色名称
	private String roleName;
	//状态：0启用1停用
	private byte status;
	//逻辑删除 1是0否
	private byte isdel;
	//创建日期
	private String createdTime;
	//最后更新日期
	private String updatedTime;
	private String remark;
	private Long customer_id;
	private Customer customer;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getDeptId() {
		return deptId;
	}
	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}
	public Department getDept() {
		return dept;
	}
	public void setDept(Department dept) {
		this.dept = dept;
	}
	public Long getPostId() {
		return postId;
	}
	public void setPostId(Long postId) {
		this.postId = postId;
	}
	public Post getPost() {
		return post;
	}
	public void setPost(Post post) {
		this.post = post;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getAccountName() {
		return accountName;
	}
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public byte getSex() {
		return sex;
	}
	public void setSex(byte sex) {
		this.sex = sex;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getRoleId() {
		return roleId;
	}
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public byte getStatus() {
		return status;
	}
	public void setStatus(byte status) {
		this.status = status;
	}
	public byte getIsdel() {
		return isdel;
	}
	public void setIsdel(byte isdel) {
		this.isdel = isdel;
	}
	public String getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	public String getUpdatedTime() {
		return updatedTime;
	}
	public void setUpdatedTime(String updatedTime) {
		this.updatedTime = updatedTime;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Long getCustomer_id() {
		return customer_id;
	}
	public void setCustomer_id(Long customer_id) {
		this.customer_id = customer_id;
	}
	public Customer getCustomer() {
		return customer;
	}
	public void setCustomer(Customer customer) {
		this.customer = customer;
	}
}
